翻訳と辞書
Words near each other
・ C More Kids
・ C More Series
・ C More Sport
・ C More Sport HD
・ C More Tennis
・ C mount
・ C Music TV
・ C N D High School Baunsi Banka
・ C News
・ C Object Processor
・ C of I
・ C of Tranquility
・ C Painter
・ C parity
・ C POSIX library
C preprocessor
・ C Primer Plus
・ C process control
・ C Project
・ C Puppis
・ C R Irani
・ C Ravichandran
・ C Real (Greek band)
・ C Restaurant
・ C road
・ C S Hayes Stakes
・ C SEED 201
・ C series
・ C Series Index
・ C Sharp (programming language)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

C preprocessor : ウィキペディア英語版
C preprocessor

The C preprocessor or cpp is the macro preprocessor for the C and C++ computer programming languages. The preprocessor provides the ability for the inclusion of header files, macro expansions, conditional compilation, and line control.
In many C implementations, it is a separate program invoked by the compiler as the first part of translation.
The language of preprocessor directives is only weakly related to the grammar of C, and so is sometimes used to process other kinds of text files.
== Phases ==

Preprocessing is defined by the first four (of eight) ''phases of translation'' specified in the C Standard.
# Trigraph replacement: The preprocessor replaces trigraph sequences with the characters they represent.
# Line splicing: Physical source lines that are continued with escaped newline sequences are ''spliced'' to form logical lines.
# Tokenization: The preprocessor breaks the result into ''preprocessing tokens'' and whitespace. It replaces comments with whitespace.
# Macro expansion and directive handling: Preprocessing directive lines, including file inclusion and conditional compilation, are executed. The preprocessor simultaneously expands macros and, in the 1999 version of the C standard, handles _Pragma operators.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「C preprocessor」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.